package com.t35.ssh;

import java.util.List;

import javax.swing.plaf.synth.SynthSeparatorUI;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.t35.ssh.dao.UserDao;

public class Test {
	public static void main(String[] args) {
		UserDao userDao=(UserDao) new ClassPathXmlApplicationContext("applicationContext.xml").getBean("userDao");
		List list=userDao.findAll();
		System.out.println(list.size());
	}
}
